package com.example.task.service;

import org.springframework.scheduling.annotation.Async;

public interface TaskService {

    void task1();
    
    void task2();
    
    void task3();

    @Async
    void task4();

    /**
     * 该注解启动的spring异步线程池，默认最多8个线程
     */
//    @Async
    void test5();
}
